package com.hq.service;

import com.hq.entity.Exam;

import java.util.List;
import java.util.Map;

public interface ExamService {
    //分页查询
    Map<String,Object> findByPage(int page,int size);

    //添加试卷
    int addExam(Exam exam);

    //发布试卷
    int publishExam(int eid);

    //删除试卷
    int delExam(int eid);

    //批量删除试卷
    int delExams(String ids);

    //编辑试卷
    int editExam(Exam exam);

    //查询所有试卷
    List<Exam> findAll();

}
